<?
  class news_model extends add_model_module{
   function return_news($arg){   	return $this->db->result_array($this->db->query("SELECT text From news WHERE id_cat='$arg'"));    }

   function return_all_news(){
   	return $this->db->result_array($this->db->query("SELECT * from news"));
    }



  }

?>